package com.cherry.networksdk

import com.google.gson.annotations.SerializedName

/**
 * @author 董棉生(dongmiansheng@parkingwang.com)
 * @since 18-11-29
 */
class LoginModel(val id: Int,
                 val token: String,
                 val role: Role,
                 @SerializedName("user_group") val userGroup: Int) {

    override fun toString(): String {
        return "LoginModel(id=$id, token='$token', role=$role, userGroup=$userGroup)"
    }
}